<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <th:block th:include="include :: header('大件商品入货架')"/>
    <th:block th:include="include :: datetimepicker-css"/>
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
    <form class="form-horizontal m" id="form-detail-add">
        <input name="id" th:field="*{goodsBox.id}" type="hidden">
        <input name="ids" th:field="*{goodsBox.ids}" type="hidden">
        <input name="clientId" th:field="*{goodsBox.clientId}" type="hidden">
        <div class="form-group">
            <label class="col-sm-3 control-label">货箱编号：</label>
            <div class="col-sm-8">
                <input name="boxCode" class="form-control" type="text" th:field="*{goodsBox.boxCode}" readonly>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">商品重量：</label>
            <div class="col-sm-8">
                <input name="weight" class="form-control" type="text" th:field="*{goodsBox.weight}" readonly>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">商品体积：</label>
            <div class="col-sm-8">
                <input name="volume" class="form-control" type="text" th:field="*{goodsBox.volume}" readonly>
            </div>
        </div>
        <div class="form-group" style="color: red;font-size: 16px;">
            <label class="col-sm-3 control-label">注：</label>
            <div class="col-sm-8">
                <label>1、请确认该商品已关闭补货单</label><br>
                <label>2、请确认该商品无补货在途</label><br>
                <label>3、保证商城已不能下单以及仓库内没有分拣任务</label><br>
                <label>4、供应商修改商品，平台端修改审核商品为非大件商品</label><br>
                <label>5、只能处理同一种商品</label><br>
                <label>6、商品重量为该商品在地平仓选中的总重量</label><br>
                <label>7、请记住货箱编号以及总重量</label><br>
                <label>8、点击打开的页面确定完成后，在商城下单1份</label><br>
                <label>9、触发分拣，会下空箱到缓存位，然后放入商品，分拣</label><br>
                <label>10、完成</label><br>
            </div>
        </div>
    </form>
</div>
<th:block th:include="include :: footer"/>
<th:block th:include="include :: datetimepicker-js"/>
<script th:inline="javascript">
    var prefix = ctx + "wcs/box/detailInfo"
    $("#form-detail-add").validate({
        focusCleanup: true
    });

    function submitHandler() {
        if ($.validate.form()) {
            $.operate.save(prefix + "/bigProductEntry", $('#form-detail-add').serialize());
        }
    }

    $("input[name='shelfLife']").datetimepicker({
        format: "yyyy-mm-dd",
        minView: "month",
        autoclose: true
    });

    $("input[name='produceDate']").datetimepicker({
        format: "yyyy-mm-dd",
        minView: "month",
        autoclose: true
    });
</script>
</body>
</html>